package cn.iocoder.yudao.module.member.controller.admin.auth.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import javax.validation.constraints.NotNull;
import java.time.LocalDateTime;

import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

/**
 * 会员认证大愚灸术学员 Base VO，提供给添加、修改、详细的子 VO 使用
 * 如果子 VO 存在差异的字段，请不要添加到这里，影响 Swagger 文档生成
 */
@Data
public class MemberShopAuthBaseVO {
    @Schema(description = "会员编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "27704")
    @NotNull(message = "会员编号不能为空")
    private Long memberId;

    @Schema(description = "失败理由", example = "不喜欢")
    private String reason;

    @Schema(description = "店铺名", requiredMode = Schema.RequiredMode.REQUIRED, example = "xxx")
    @NotNull(message = "店铺名不能为空")
    private String shopName;

    @Schema(description = "面积", requiredMode = Schema.RequiredMode.REQUIRED, example = "xxx")
    @NotNull(message = "面积不能为空")
    private Integer size;

    @Schema(description = "灸房数量", requiredMode = Schema.RequiredMode.REQUIRED, example = "xxx")
    @NotNull(message = "灸房数量不能为空")
    private Integer roomCount;

    @Schema(description = "灸师数量", requiredMode = Schema.RequiredMode.REQUIRED, example = "xxx")
    @NotNull(message = "灸师数量不能为空")
    private Integer jiushiCount;

    @Schema(description = "店铺描述", requiredMode = Schema.RequiredMode.REQUIRED, example = "xxx")
    @NotNull(message = "店铺描述不能为空")
    private String description;

    @Schema(description = "店铺详细地址", requiredMode = Schema.RequiredMode.REQUIRED, example = "xxx")
    @NotNull(message = "店铺地址不能为空")
    private String address;

    @Schema(description = "店铺地址编码", requiredMode = Schema.RequiredMode.REQUIRED, example = "xxx")
    @NotNull(message = "店铺地址不能为空")
    private Integer areaId;

    @Schema(description = "门头图片", requiredMode = Schema.RequiredMode.REQUIRED, example = "xxx")
    @NotNull(message = "门头图片不能为空")
    private String titleUrl;

    @Schema(description = "店铺图片", requiredMode = Schema.RequiredMode.REQUIRED, example = "xxx")
    private String picUrl;

    @Schema(description = "视频图片", requiredMode = Schema.RequiredMode.REQUIRED, example = "xxx")
    private String videoUrl;
}
